/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Views.GestionRestaurateur;

import java.util.EventObject;

/**
 *
 * @author ibrahim
 */
public class AddRestaurateurEvent extends EventObject {

    private String fname;
    private String lname;
    private int expertise;
    private boolean citizen;
    private String permanantCode;
    private String gender;
    
    public AddRestaurateurEvent(Object source, String fname, String lname, int expertise, boolean citizen, String permanantCode, String gender){
        super(source);
        this.fname=fname;
        this.lname=lname;
        this.expertise=expertise;
        this.citizen=citizen;
        this.permanantCode=permanantCode;
        this.gender=gender;
        
        
        
    }

    /**
     * @return the fname
     */
    public String getFname() {
        return fname;
    }

    /**
     * @param fname the fname to set
     */
    public void setFname(String fname) {
        this.fname = fname;
    }

    /**
     * @return the lname
     */
    public String getLname() {
        return lname;
    }

    /**
     * @param lname the lname to set
     */
    public void setLname(String lname) {
        this.lname = lname;
    }

    /**
     * @return the expertiseID
     */
    public int getExpertise() {
        return expertise;
    }

    /**
     * @param expertiseID the expertiseID to set
     */
    public void setExpertise(int expertise) {
        this.expertise = expertise;
    }

    /**
     * @return the citizen
     */
    public boolean isCitizen() {
        return citizen;
    }

    /**
     * @param citizen the citizen to set
     */
    public void setCitizen(boolean citizen) {
        this.citizen = citizen;
    }

    /**
     * @return the permanantCode
     */
    public String getPermanantCode() {
        return permanantCode;
    }

    /**
     * @param permanantCode the permanantCode to set
     */
    public void setPermanantCode(String permanantCode) {
        this.permanantCode = permanantCode;
    }

    /**
     * @return the gender
     */
    public String getGender() {
        return gender;
    }

    /**
     * @param gender the gender to set
     */
    public void setGender(String gender) {
        this.gender = gender;
    }

    /**
     * @return the expertise
     */
   
    
    
}
